package com.zhonghui.wms.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zhonghui.common.annotation.Excel;
import com.zhonghui.common.core.domain.BaseEntity;

/**
 * 智能仓储WMS-基础数据-货主对象 wms_cargo_owner
 *
 * @author zhonghui
 * @date 2022-06-04
 */
@ApiModel("智能仓储WMS-基础数据-货主对象")
public class WmsCargoOwner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货主ID */
    @Excel(name = "编号")
    @ApiModelProperty("编号")
    private Long id;

    /** 货主名称 */
    @Excel(name = "货主名称")
    @ApiModelProperty("货主名称")
    private String cargoOwnerName;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty("公司名称")
    private String companyName;

    /** 公司地址 */
    @Excel(name = "公司地址")
    @ApiModelProperty("公司地址")
    private String companyAddress;

    /** 联系人 */
    @Excel(name = "联系人")
    @ApiModelProperty("联系人")
    private String contacts;

    /** 联系方式 */
    @Excel(name = "联系方式")
    @ApiModelProperty("联系方式")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCargoOwnerName(String cargoOwnerName)
    {
        this.cargoOwnerName = cargoOwnerName;
    }

    public String getCargoOwnerName()
    {
        return cargoOwnerName;
    }
    public void setCompanyName(String companyName)
    {
        this.companyName = companyName;
    }

    public String getCompanyName()
    {
        return companyName;
    }
    public void setCompanyAddress(String companyAddress)
    {
        this.companyAddress = companyAddress;
    }

    public String getCompanyAddress()
    {
        return companyAddress;
    }
    public void setContacts(String contacts)
    {
        this.contacts = contacts;
    }

    public String getContacts()
    {
        return contacts;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cargoOwnerName", getCargoOwnerName())
            .append("companyName", getCompanyName())
            .append("companyAddress", getCompanyAddress())
            .append("contacts", getContacts())
            .append("phone", getPhone())
            .toString();
    }
}
